'use strict';
module.exports = {
	/**
	 * XXXnameXXX
	 * @url admin/pages/files_mzgl/djs/kh/dytf 前端调用的url参数地址
	 * data 请求参数
	 * @param {String} params1  参数1
	 */
	main: async (event) => {
		let { data = {}, userInfo, util, filterResponse, originalParam } = event;
		let { customUtil, uniID, config, pubFun, vk, db, _ } = util;
		let { uid , series , album_id} = data;
		let res = { code: 0, msg: "" };
		// 业务逻辑开始-----------------------------------------------------------
		
		console.log("series====",series,album_id);
		
		// 根据aid series 查询 eid
		let epid = await vk.baseDao.select({
			dbName: "a_tv_series", // 表名
			whereJson: { // 条件
				series:series,
				album_id:album_id
			},
		});
		console.log("epid===",epid);



		// 业务逻辑结束-----------------------------------------------------------
		return res;
	}
}
